var getPieOption = function(data) {
	return {
		color: ['#516B91','#59C4E6', '#EDAFDA', '#93B7E3', '#A5E7F0','#CBB0E3'],
		title : {
			text: data.title,
			x:'left'
		},
		grid: {
			left: '3%',
			right: '4%',
			bottom: '3%',
			top: '5%',
			containLabel: true
		},
		tooltip : {
			trigger: 'item',
			formatter: "{a} <br/>{b} : {c} ({d}%)"
		},
		legend: {
			type: 'scroll',
			orient: 'vertical',
			left: 'right',
			top: '30',
			itemWidth: '15',
			data: data.category
		},
		series : [
			{
				name: data.seriesName,
				type: 'pie',
				radius : '45%',
				center: ['40%', '60%'],
				data: data.data,
				itemStyle: {
					emphasis: {
						shadowBlur: 10,
						shadowOffsetX: 0,
						shadowColor: 'rgba(0, 0, 0, 0.5)'
					}
				}
			}
		]
	}
}